<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no"> -->
  <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name='apple-mobile-web-app-capable' content='yes' />
  <meta name='full-screen' content='true' />
  <meta name='x5-fullscreen' content='true' />
  <meta name='360-fullscreen' content='true' />
  <link rel="icon" href="<%= BASE_URL %>favicon.png">
  <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->
  <title>普世医学</title>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
      Please enable it to continue.</strong>
  </noscript>
  <div id="app"></div>
  <script>
    // if (/Android|webOS| iPhone | iPad | iPod |BlackBerry|opera mini|opera mobile|appleWebkit.*mobile|mobile/i.test(
    //     navigator.userAgent)) {} else {

    //   window.location.href = "https://ds.pushiyixue.com/";
    // }
    (function () {
      // 在标准 375px 适配下，100px = 1rem;
      let baseFontSize = 100;
      let baseWidth = 375;

      let set = function () {
        let clientWidth = document.documentElement.clientWidth || window.innerWidth;

        let rem = 100;
        if (clientWidth != baseWidth) {
          rem = Math.floor(clientWidth / baseWidth * baseFontSize);
        }

        document.querySelector('html').style.fontSize = rem + 'px';
      }
      set();

      window.addEventListener('resize', set);
    }());
  </script>
  <!-- built files will be auto injected -->
</body>

</html>